import Vue from 'vue';
import Router from 'vue-router';

Vue.use(Router);

const routes = [
    {
        path: '*',
        redirect: '/404',
        hidden: true
    },
    {
        path: '/',
        component: () => import('@/pages/index'),
        hidden: true
    },
    {
        path: '/tinymce',
        component: () => import('@/pages/tinymce'),
        hidden: true
    },
    {
        path: '/test',
        component: () => import('@/pages/test'),
        hidden: true
    },
    {
        path: '/404',
        component: () => import('@/pages/404.vue'),
        hidden: true
    }
];

export default new Router({ routes });
